Page({
    goPage(e){
        let authName = wx.getStorageSync('authName');
        let { url } = e.currentTarget.dataset;
        if(authName){
            wx.navigateTo({
                url:url
            });
        }else{
            wx.navigateTo({
                url: `/subPackages/pages/login/login?from=${url}&&type=1`
              })
        }
       
    }
});